package graph;

public class ALGOBusChangeEdge extends ALGOEdge {
	private double maxDuration;
	public static double CHANGETIME = 3;
	
	public double getMaxDuration() {
		return maxDuration;
	}

	public void setMaxDuration(double maxDuration) {
		this.maxDuration = maxDuration;
	}

	/**
     * default constructor
     */

    public ALGOBusChangeEdge() {
    	super();
    	maxDuration = 3;
    }

    /**
     * constructor
     *
     * @param soid source node id
     * @param siid sink node id
     */

    public ALGOBusChangeEdge(int soid, int siid) {
	    super(soid, siid);
    	maxDuration = 3;
    }

    /**
     * constructor
     *
     * @param soid source node id
     * @param siid sink nodee id
     * @param c costs for this edge
     */

    public ALGOBusChangeEdge(int soid, int siid, double c) {
    	super(soid, siid, c);
    	maxDuration = 3;
    }
}